//
// Created by dddgzc on 2025/2/5.
//

#ifndef PEABULLET_H
#define PEABULLET_H
#include "Bullet.h"

extern SDL_Texture* pea;
extern Atlas* peaBreakAtlas;
extern bool IS_DEBUG_MODE;

class PeaBullet : public Bullet{
public:
    PeaBullet();
    ~PeaBullet() = default;
private:
    void onCollide(); // 碰撞时
    void onDraw(const Camera &camera) override;
    void onUpdate(int delta) override;
private:
    Animation peaBreakAnimation;
};

#endif //PEABULLET_H
